use std::{rc::Rc, collections::HashMap};


fn main(){

    let mut h1 = HashMap::new();
    h1.insert("11", "22");
    h1.insert("12", "22");
    let mut r = Rc::new(h1);
    // println!("{:?}",r);

    let mut h2 = HashMap::new();
    h2.insert("111", "22");
    h2.insert("112", "22");
    let r1 = Rc::new(h2);
    // println!("{:?}",r1);

    println!("{:?}",r);
    r = r1;
    println!("{:?}",r);
    
}